#include "ttClientPrxMgr.h"
#include "autoLock.h"

ttClientPrxMgr::ttClientPrxMgr()
{
	InitializeCriticalSection(&m_cs);
}

int 
ttClientPrxMgr::push_back(IttClient *pPrx)
{
	autoLock lock(m_cs);
	m_list.push_back(pPrx);
	return 0;
}

ttClientPrxMgr::THISLIST&
ttClientPrxMgr::getList()
{
	return m_list;
}